﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Cms.Core.AspNetMvc;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;

namespace Cms.Core.Web.Controllers.v1
{
    [CustomRoute("v1")]
    [ApiController]
    [AllowAnonymous]
    public class DefaultController : Controller
    {
        // GET api/values
        [HttpGet]
        public ActionResult<IEnumerable<string>> Get()
        {

            var str = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoi566h55CG5ZGYIiwianRpIjoiZDZkMGEzMzItYzRhNi00ODY2LTcxOGYtMDhkNmE1NGI0ODkyIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9leHBpcmF0aW9uIjoiMjAxOS0wNy0wMiAyMTo1NzoxNCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IueuoeeQhuWRmCIsIm5iZiI6MTU2MjA3NTc3NCwiZXhwIjoxNTYyMDc1ODM0LCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjU3MTM5IiwiYXVkIjoiaHR0cDovL2xvY2FsaG9zdDo1NzEzOSJ9.lp5qfmhKJmw-xL8iJexl5BTN9Ng-agZNJj3WuBFlKvU".Length;
            return new string[] { "value1", "value2" };
        }

    
    }
}